package com.xyq.friend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xyq.friend.domain.exam.vo.ExamRankVO;
import com.xyq.friend.domain.exam.vo.ExamVO;
import com.xyq.friend.domain.user.UserExam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserExamMapper extends BaseMapper<UserExam> {

    List<ExamVO> selectUserExamList(@Param("userId") Long userId);

    List<ExamRankVO> selectExamRankVOList(@Param("examId") Long examId );
}
